/*
 * Copyright 2020 The Kubernetes Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

$num-columns: 4; /* keep in sync with WatchPane.capacity() */
$master-font-size: 0.75em;
$cell-size: 0.875em;
$head-spacing: 0.5em;
$body-spacing: 0.5em;
$pane-gap: 0.5em;
$header-spacing: 0.1875em; /* keep in sync with Toolbar.scss .kui--data-table-wrapper */

@mixin Card {
  .kui--card {
    @content;
  }
}

@mixin NoBoxShadow {
  &:not([data-box-shadow]) {
    @content;
  }
}

@mixin CardHeader {
  .kui--card-header {
    @content;
  }
}

@mixin CardBody {
  .kui--card-body {
    @content;
  }
}

@mixin CardFooter {
  .kui--card-footer {
    @content;
  }
}

@mixin CardFooterNotEmpty {
  @include CardFooter {
    &:not(:empty) {
      @content;
    }
  }
}
